package com.ITArmy.beans;

import java.util.Date;

public class Chapter {
    /**
     * 章节id
     */
    private Long chId;
    /**
     * 第几章
     */
    private Integer chNumber;
    /**
     * 标题
     */
    private String chTitle;
    /**
     * 章节内容
     */
    private String chAddress;
    /**
     * 发表章节的时间
     */
    private Date chTime;
    /**
     * 连载的id
     */
    private Long sId;

    public Long getChId() {
        return chId;
    }

    public void setChId(Long chId) {
        this.chId = chId;
    }

    public Integer getChNumber() {
        return chNumber;
    }

    public void setChNumber(Integer chNumber) {
        this.chNumber = chNumber;
    }

    public String getChTitle() {
        return chTitle;
    }

    public void setChTitle(String chTitle) {
        this.chTitle = chTitle == null ? null : chTitle.trim();
    }

    public String getChAddress() {
        return chAddress;
    }

    public void setChAddress(String chAddress) {
        this.chAddress = chAddress == null ? null : chAddress.trim();
    }

    public Date getChTime() {
        return chTime;
    }

    public void setChTime(Date chTime) {
        this.chTime = chTime;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }
}